<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <link href="config/css/bootstrap-3.3.7.min.css" rel="stylesheet" type="text/css"/>
    <link type="text/css" rel="stylesheet" href="index/css/reset.css">
    <link rel="stylesheet" type="text/css" href="config/js/layer/skin/default/layer.css">
    <link type="text/css" rel="stylesheet" href="index/css/page.css">

    <title>管理员列表</title>
</head>
<body>
<section class="mangerlist">
    <div class="indexlist">
        <div class="top">
            <div class="new">
                <button class="newclick">添加</button>
            </div>
            <div class="serch">

                <button><img src="index/image/serch.png"></button>
                <input type="text" placeholder="请输入关键字">
            </div>
        </div>
        <table class="table table-bordered">
            <thead>
            <tr>
                <th>#</th>
                <th>用户名</th>
                <th>姓名</th>
                <th>电子邮件</th>
                <th>手机号</th>
                <th>最后一次登录时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td><input type="checkbox"></td>
                <td>test</td>
                <td>曾哥</td>
                <td>120526505@q.com</td>
                <td>18111112222</td>
                <td>2016-08-27 16:18:46</td>
                <td><button>修改</button></td>
            </tr>
            </tbody>
        </table>
        <div class="bottom">
            <button class="selected">反选</button>
            <button class="nologin">禁止登录</button>
            <button class="delete">删除</button>
            <ul class="pagination pagination-sm">
                <li><a>&laquo;</a></li>
                <li><a>1</a></li>
                <li><a>2</a></li>
                <li><a>3</a></li>
                <li><a>4</a></li>
                <li><a>5</a></li>
                <li><a>&raquo;</a></li>
            </ul>
        </div>
    </div>
    <div style="clear: both"></div>
    <!--添加/修改弹出框-->
    <div class="newtankuang" style="display: none">
        <div class="basic" style="border-bottom: none;">
            <h3>注册信息</h3>
            <ul>
                <li>
                    <span>用户名：</span>
                    <input type="text" id="mangerlist_username">
                </li>
                <li>
                    <span>密码：</span>
                    <input type="text" id="mangerlist_pwdone">
                </li>
                <li>
                    <span>重复密码：</span>
                    <input type="text" id="mangerlist_pwdtwo">
                </li>
                <li>
                    <span>姓名：</span>
                    <input type="text" id="mangerlist_name">
                </li>
                <li>
                    <span>手机号：</span>
                    <input type="text" id="mangerlist_phone">
                </li>
                <li>
                    <span>邮箱：</span>
                    <input type="text" id="mangerlist_emil">
                </li>
            </ul>
            <div  style="clear: both"></div>
        </div>
        <div class="footer">
            <button class="save">保存</button>
            <button class="back">返回</button>
        </div>
        <div  style="clear: both"></div>
    </div>
    <div class="changekuang" style="display: none">
        <div class="basic">
            <h3>注册信息</h3>
            <ul>
                <li>
                    <span>用户名：</span>
                    <input type="text" value="test" disabled>
                </li>
            </ul>
            <div  style="clear: both"></div>
        </div>
        <div class="charge">
            <h3>基础信息</h3>
            <ul>
                <li>
                    <span>姓名：</span>
                    <input type="text">
                </li>
                <li>
                    <span>手机号：</span>
                    <input type="text">
                </li>
                <li>
                    <span>邮箱：</span>
                    <input type="text">
                </li>
            </ul>
        </div>
        <div class="footer">
            <button class="save">保存</button>
            <button class="back">返回</button>
        </div>
        <div style="clear: both"></div>
    </div>
</section>
</body>
<script src="config/js/jquery-2.1.4.min.js"></script>
<script src="config/js/layer/layer.js"></script>
<script>
    $(function () {
        $(".new button").click(function () {
            $('.indexlist').hide();
            $('.newtankuang').show();
        });
        $("td button").click(function () {
            $('.indexlist').hide();
            $('.changekuang').show();
        });
        $(".changekuang .footer button").click(function () {
            $('.indexlist').show();
            $('.changekuang').hide();
        });
        $(".newtankuang .footer button.back").click(function () {
            $('.indexlist').show();
            $('.newtankuang').hide();
        });

    })
</script>
</html>